package com.itheima03.day11;

import java.io.FileOutputStream;
import java.io.IOException;

/**
 * @author 刘全
 * @date 2021/7/31
 */
public class IOTest1 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("D:\\itheima\\FileDemo\\憨丕.txt");
        String s = "苏晋丕好憨呐!";
        byte[] bytes = s.getBytes();
        fos.write(bytes);
    }
}
